CVE-2026-1245
CVE-2026-1245
Description
A code injection vulnerability in the binary-parser library prior to version 2.3.0 allows arbitrary JavaScript code execution when untrusted values are used in parser field names or encoding parameters. The library directly interpolates these values into dynamically generated code without sanitization, enabling attackers to execute arbitrary code in the context of the Node.js process.
INFO
Published Date :
Jan. 20, 2026, 7:15 p.m.
Last Modified :
Feb. 3, 2026, 9:41 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Update the binary-parser library to version 2.3.0 or higher.
- Sanitize untrusted values before using them in parser fields.
- Avoid using untrusted values in encoding parameters.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-1245.
| URL | Resource |
|---|---|
| https://github.com/keichi/binary-parser | Product |
| https://github.com/keichi/binary-parser/pull/283 | Patch |
| https://kb.cert.org/vuls/id/102648 | Third Party Advisory |
| https://www.npmjs.com/package/binary-parser | Product |
| https://www.kb.cert.org/vuls/id/102648 | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-1245 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-1245
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-1245 vulnerability anywhere in the article.
-
Daily CyberSecurity
High-Severity Flaw in Western Digital Installer Opens Door to Code Execution
Western Digital, a titan in the data storage industry, has rolled out a critical update for its widely used WD Discovery software after security researchers uncovered a dangerous flaw in its installer ... Read more
-
CybersecurityNews
Critical Vulnerability in Binary-Parser Library for Node.js Allows Malicious Code injection
A critical code-injection vulnerability has been identified in the Node.js binary-parser library, affecting all versions before 2.3.0. The flaw allows attackers to execute arbitrary JavaScript code if ... Read more
-
Daily CyberSecurity
NVIDIA Alert: High-Severity Code Execution Flaws Hit CUDA Toolkit
NVIDIA has rolled out a critical software update for its widely used CUDA Toolkit, patching a quartet of high-severity vulnerabilities that could allow attackers to execute arbitrary code and escalate ... Read more
-
Daily CyberSecurity
CVE-2026-1245: Code Injection Flaw Hits Node.js binary-parser
Developers using the popular binary-parser library for Node.js are being urged to update their dependencies immediately following the disclosure of a dangerous code injection vulnerability. The flaw, ... Read more
-
Daily CyberSecurity
Critical Vivotek Flaw Grants Root Access (CVE-2026-22755)
A new critical vulnerability has been unearthed in the firmware of Vivotek legacy cameras, potentially turning thousands of surveillance devices into obedient soldiers for botnet armies. The Akamai Se ... Read more
-
The Hacker News
CERT/CC Warns binary-parser Bug Allows Node.js Privilege-Level Code Execution
A security vulnerability has been disclosed in the popular binary-parser npm library that, if successfully exploited, could result in the execution of arbitrary JavaScript. The vulnerability, tracked ... Read more
The following table lists the changes that have been made to the
CVE-2026-1245 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Feb. 03, 2026
Action Type Old Value New Value Added CWE CWE-94 Added CPE Configuration OR *cpe:2.3:a:keichi:binary-parser:*:*:*:*:*:node.js:*:* versions up to (excluding) 2.3.0 Added Reference Type CERT/CC: https://github.com/keichi/binary-parser Types: Product Added Reference Type CERT/CC: https://github.com/keichi/binary-parser/pull/283 Types: Patch Added Reference Type CERT/CC: https://kb.cert.org/vuls/id/102648 Types: Third Party Advisory Added Reference Type CERT/CC: https://www.npmjs.com/package/binary-parser Types: Product Added Reference Type CVE: https://www.kb.cert.org/vuls/id/102648 Types: Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jan. 21, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N -
CVE Modified by [email protected]
Jan. 21, 2026
Action Type Old Value New Value Added Reference https://github.com/keichi/binary-parser Added Reference https://kb.cert.org/vuls/id/102648 Added Reference https://www.npmjs.com/package/binary-parser -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Jan. 20, 2026
Action Type Old Value New Value Added Reference https://www.kb.cert.org/vuls/id/102648 -
New CVE Received by [email protected]
Jan. 20, 2026
Action Type Old Value New Value Added Description A code injection vulnerability in the binary-parser library prior to version 2.3.0 allows arbitrary JavaScript code execution when untrusted values are used in parser field names or encoding parameters. The library directly interpolates these values into dynamically generated code without sanitization, enabling attackers to execute arbitrary code in the context of the Node.js process. Added Reference https://github.com/keichi/binary-parser/pull/283